package com.bob.blogs.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.bob.blogs.mapper.UserMapper;
import com.bob.blogs.model.po.UserPo;
import com.bob.blogs.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author bob
 * @create 2019-07-04
 */
@Service
public class UserServiceImpl implements IUserService {
    @Resource
    private UserMapper userMapper;


    @Override
    public List<UserPo> getAllUserInfo() {
        return userMapper.selectList(Wrappers.emptyWrapper());
    }
}
